LOCAL_SRC_DIR = $(shell pwd)
LINK    = @echo linking $@ && g++
GCC     = @echo compiling $@ && g++ 
GC      = @echo compiling $@ && gcc
AR      = @echo generating static library $@ && ar -crv
FLAGS   = -g -W -w -Wall -fPIC -std=c++11 -Wno-unused-parameter


GCCFLAGS = 
DEFINES = 
HEADER  = -I./ 
LIBS    = -L./ 

LINKFLAGS =  -DDEBUG

CURRENT_TIME   = $(shell date "+%Y%m%d%H%M%S")

LIBS    += -pthread  -lev -lcrypto -lssl -lcurl -lsqlite3 -lpaho-mqtt3as -lz
LIBS    += -lavformat -lavutil -lavcodec -lswresample -lswscale

SOURCE_FILES :=\
		main.cpp\


PROJECTNAME = ImageLoader


TARGET = main

all: $(SOURCE_FILES)
	@echo successfully
clean:
	rm -rf *.o *.out* bin obj *.db *.txt *.bin output.wav 
del:
	rm -rf *
